<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<style type="text/css">
	.hasDatepick { width:150px }
</style>

<x:parse xml="${param.xmlstr}" var="xmlData" />

<c:set var="statYear" scope="request">${statYear}</c:set>
					<c:if test="${empty statYear}">
						<c:set var="statYear" scope="request"><x:out select="$xmlData/data/proposal/stat_year" /></c:set>
					</c:if>

<div class="t_bar">上一年度经营状况（单位：万元）</div>
<c:set var="lastYear" value="${statYear-1}" />

<table class="t_css" width="100%" border="0" cellpadding="0" id="attentInfo" cellspacing="1">
		<x:forEach var="eco" select="$xmlData/data/organization/finances/finance">
		<c:set var="year">   
				<x:out select="$eco/@year" />
			</c:set>
			<c:choose>
				<c:when test="${year==statYear-1}">
			<tr>
				<td align="right" width="130px" >总收入：</td>
				<td width="160px"><x:out select="$eco/income" /></td>
				<td align="right" width="130px">纳税总额：</td>
				<td width="160px"><x:out select="$eco/fax"/></td>
				<td align="right" width="130px">产品销售总额：</td>
				<td>
				<c:set var="temp"><x:out select="$xmlData/data/proposal/pro_relief_fax_income_sale" /></c:set>
				<c:if test="${temp=='' }">
				<x:out select="$eco/income_sale"/>
				</c:if>
				<c:if test="${temp!='' }">
				<x:out select="$xmlData/data/proposal/pro_relief_fax_income_sale" />
				</c:if></td>
			</tr>
			<tr  class="li_2">	
				<td align="right">创汇总额：</td>
				<td ><x:out select="$eco/export"/>万美元</td>
				<td align="right" >净利润：</td>
				<td><x:out select="$eco/proft"/></td>	
				<td align="right">技术开发经费支出额：</td>
				<td><x:out select="$xmlData/data/proposal/pro_relief_fax_income_yanfa"/></td>
			</tr>
			<tr>
				<td align="right">总资产：</td>
				<td><x:out select="$eco/assets"/></td>
				<td align="right">固定资产总额：</td>
				<td colspan="3"><x:out select="$eco/assets_fixed"/></td>
			</tr>
			</c:when>
			</c:choose>
</x:forEach>
		</table>
	

		<br>
	
	<div class="t_bar">本年度经营状况（单位：万元）</div>
<c:set var="lastYear" value="${statYear-1}" />

<x:set var="finance" select="$xmlData/data/finances/finance"/> 
<c:set value="0" var="index" scope="page"/>
		<table class="t_css" width="100%" border="0" cellpadding="0" id="attentInfo" cellspacing="1">
				
			<tr>
				<td align="right" width="130px" >总收入：</td>
				<td width="160px">		
					<x:out select='$xmlData/data/organization/bnfinances/income' />
				</td>
				<td align="right" width="130px">纳税总额：</td>
				<td width="160px">
					<x:out select='$xmlData/data/organization/bnfinances/fax' />
				</td>
				<td align="right" width="130px">产品销售总额：</td>
				<td>		
					<x:out select='$xmlData/data/organization/bnfinances/income_sale' />
				</td>
			</tr>
			<tr  class="li_2">	
				<td align="right">创汇总额：</td>
				<td >		
					<x:out select='$xmlData/data/organization/bnfinances/export' />万美元
				</td>
				<td align="right" >净利润：</td>
				<td>		
					<x:out select='$xmlData/data/organization/bnfinances/proft' />
				</td>	
				<td align="right">技术开发经费支出额：</td>
				<td  >		
					<x:out select='$xmlData/data/organization/bnfinances/relief_fax_income_yanfa' />
				</td>
			</tr>
			<tr>
				<td align="right">总资产：</td>
				<td>		
					<x:out select='$xmlData/data/organization/bnfinances/assets' />
				</td>
				<td align="right">固定资产总额：</td>
				<td colspan="3">		
					<x:out select='$xmlData/data/organization/bnfinances/assets_fixed' />
				</td>
			</tr>
</table>

<br/>
<div class="t_bar">
	<span class="color_red">*</span>节能减排开展情况
</div>

<table class="t_css"  border="0" cellspacing="1" cellpadding="0" width="100%" id="inn_ssfa"
 style="table-layout: fixed; word-break: break-all; word-wrap: break-word" >
	
	<tr>
		<td>
			<pre><x:out select="$xmlData/data/organization/energy_saving" escapeXml="true" /></pre>
		    <input name="organization/energy_saving" value="" type="hidden"/>
		</td>
	</tr>
</table>
<br>
<div class="t_bar">主要产品情况</div>
<table  id="tblInstrumentList" cellpadding="0" class="table01" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center" nowrap width="5%">序号</th>
						<th class="TblHead" align="center" nowrap width="60%">主要产品名称</th>
						<th class="TblHead" align="center" nowrap width="15%">是否具有知识产权</th>
						<th class="TblHead" align="center" nowrap width="20%">占企业销售收入总额比例（%）</th> 
					</tr>
			</thead>
			<tbody id="tab">
				<x:forEach select="$xmlData/data/organization/products_list/product" var="product">
					<tr >
						<td align="center"><x:out select="$product/@seq_no"/>
						</td>
						<td><x:out select="$product/name" />
						</td>
						<td align="center"> <x:out select="$product/rights_name" />
						</td> 
						<td align="center"><x:out select="$product/income_rate" />
						</td> 
					</tr>
				</x:forEach>
		</tbody>
</table>
					